package org.eclipse.gittab.player;

import org.eclipse.gittab.gitTabDsl.GuitarSound;
import org.eclipse.gittab.gitTabDsl.Note;
import org.eclipse.gittab.gitTabDsl.Tuning;
import org.eclipse.gittab.player.internal.midi.NotePlayerImpl;

/**
 * A simple player that plays a single note.
 * 
 * @author mtreitle
 * 
 */
public class SimpleNotePlayer {

	public static NotePlayer play(Note note) {
		return new NotePlayerImpl().play(note);
	}

	public interface NotePlayer {

		public NotePlayer with(GuitarSound guitar);

		public NotePlayer use(Tuning tuning);

		public NotePlayer seconds(int sec);
	}
}
